package com.hsy.crm.web.domain.entity;

import com.hsy.crm.web.domain.cm.Validate;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "t_verificate_order_detail")
public class VerificateOrderDetail extends BaseEntity{

    @Validate
    @Column(length = 20)
    private Long verificateOrderId;

    @Validate
    @Column(length = 20)
    private Long targetId;

    @Validate
    @Column(length = 20)
    private Long targetType;

    /**
     * 前后
     * 根据主表类型的中文含义的前后   1前2后
     */
    @Validate
    @Column(length = 20)
    private Long type;

    /**
     * 已核销金额
     */
    @Column(length = 20)
    private Long verificatedMoney;

    /**
     * 本次核销金额
     */
    @Column(length = 20)
    private Long verificateMoney;

    // 冗余字段

    @Column(length = 20)
    private Long billDate;

    @Column(length = 30)
    private String billCode;

    @Column(length = 20)
    private Long billPrice;

    public Long getVerificateOrderId() {
        return verificateOrderId;
    }

    public void setVerificateOrderId(Long verificateOrderId) {
        this.verificateOrderId = verificateOrderId;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Long getTargetType() {
        return targetType;
    }

    public void setTargetType(Long targetType) {
        this.targetType = targetType;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getVerificatedMoney() {
        return verificatedMoney;
    }

    public void setVerificatedMoney(Long verificatedMoney) {
        this.verificatedMoney = verificatedMoney;
    }

    public Long getVerificateMoney() {
        return verificateMoney;
    }

    public void setVerificateMoney(Long verificateMoney) {
        this.verificateMoney = verificateMoney;
    }

    public Long getBillDate() {
        return billDate;
    }

    public void setBillDate(Long billDate) {
        this.billDate = billDate;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public Long getBillPrice() {
        return billPrice;
    }

    public void setBillPrice(Long billPrice) {
        this.billPrice = billPrice;
    }
}
